Closed-loop controller with exercise mitigation module